package top.laoshuzi.designpatterns.base.behavior.state;

/**
 * 环境
 */
public class Context {

    private State state;


    public void setState(State state) {
        this.state = state;
    }

    public void request() {
        state.handler();
    }
}
